package com.zhangzhan.gulimallware.feign;

import com.zhangzhan.gulimallcommcon.util.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author 张一恒
 * @version 1.0
 * @description:
 * @date 2024/7/2 20:06
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    @RequestMapping(value = "/gulimallorder/order/getStateByOrderSn",method = RequestMethod.GET)
    //@RequiresPermissions("gulimallorder:order:list")
    public R getStateByOrderSn(@RequestParam("orderSn") String orderSn);

}
